// header
.hd{
    margin-bottom: 30px;
    height: 78px;
    border-bottom: 2px solid #f3168a;
    background-color: #fff;
    .hd-c{
        margin: auto;
        width: 960px;
        position: relative;
        // logo
        .logo{
            height: 48px;
            float: left;
            padding: 16px 0 12px;
            a{
                height: 48px;
                width: 214px;
                display: block;
                overflow: hidden;
                img{
                    height: 48px;
                }
            }
        }
        // nav
        .my-nav{
            float: right;
            padding-top: 10px;
            padding-right: 5px;
            height: 18px;
            color: grey;
            li{
                float: left;
                line-height: 26px;
                font-size: 12px;
                .line{
                    width: 1px;
                    height: 12px;
                    vertical-align: middle;
                    background-color: #b3b3b3;
                    overflow: hidden;
                    margin: 8px 12px;
                }
            }
            .user{
                span{
                    i{
                        display: inline-block;
                        vertical-align: top;
                        font-style: normal;
                        margin-left: 5px;
                        background-image: url(../imgs/shoppingcar/精灵图.png);
                        background-position: -372px -253px;
                        width: 26px;
                        height: 26px;
                    }
                }
                >a{
                    margin-left: 15px;
                    color: grey;
                }
            }
        }
        // 保证
        .bao{
            position: absolute;
            right: 5px;
            top: 40px;
            bottom: 14px;
            z-index: 1;
            height: 20px;
            width: 440px;
            height: 40px;
            background: url(../imgs/shoppingcar/保证.jpg) no-repeat,;
            background-size: contain;
        }
    }
}
// con
.con{
    .con-c{
        margin-right: auto;
        margin-left: auto;
        width: 960px;
        // 头部标题
        .cart-tab{
            border-bottom: 1px solid #d0d0d0;
            margin-bottom: 30px;
            font-weight: 700;
            a{
                color: #f10180;
                padding-bottom: 12px;
                border-bottom: 3px solid #f10180;
                position: relative;
                bottom: -1px;
                display: inline-block;
                font-size: 16px;
                padding: 15px 10px;
                margin-right: 10px;
            }
        }
        // 商品列表
        .goods-box{
            // 商品信息
            .list{
                margin-bottom: 40px;
                background-color: #fff;
                .shop-name{
                    padding-left: 15px;
                    width: 333px;
                    .tt{
                        margin-left: 147px;
                    }
                }
                .price{
                    width: 274px;
                }
                .num-td{
                    width: 160px;
                }
                .action{
                    width: 174px;
                    text-align: center;
                }
                // 表头
                .t-hd{
                    width: 958px;
                    height: 40px;
                    background-color: #f9f9f9;
                    ul{
                        border: 1px solid #e0e0e0;
                        height: 38px;
                        line-height: 38px;
                        li{
                            text-align: center;
                            float: left;
                            font-size: 12px;
                            color: #333;
                        }
                        
                    }
                }
                // 加购的商品
                .oder{
                    margin-bottom: 20px;
                    .tit{
                        font-family: MicrosoftYaHei;
                        font-size: 16px;
                        color: #f10180;
                        padding: 20px 15px 16px 15px;
                    }
                    .oder-bd{
                        border: 1px solid #e0e0e0;
                        .table-box{
                            margin: auto;
                            .od-inner{
                                table{
                                    border-collapse: collapse;
                                    border-spacing: 0;
                                    display: table;
                                    box-sizing: border-box;
                                    border-color: grey;
                                    tbody{
                                        display: table-row-group;
                                        vertical-align: middle;
                                        border-color: inherit;
                                        tr{
                                            padding-bottom: 10px;
                                            display: block;
                                            td{
                                                padding-top: 15px;
                                                height: 74px;
                                                vertical-align: top;
                                            }
                                        }
                                        // 小方块
                                        .checkbox{
                                            padding-top: 17px;
                                            line-height: 24px;
                                            margin-right: 10px;
                                            padding: 5px 0 2px;
                                            width: 19px;
                                            height: 16px;
                                            float: left;
                                            position: relative;
                                            cursor: pointer;
                                            overflow: hidden;
                                            span{
                                                background-image: url(../imgs/shoppingcar/精灵图.png);
                                                background-position: -479px -253px;
                                                width: 19px;
                                                height: 16px;
                                                position: relative;
                                                float: left;
                                                line-height: 9999px;
                                                overflow: hidden;
                                                cursor: pointer;
                                            }
                                        }
                                        .shop-name{
                                            .my-shop{
                                                height: 74px;
                                                .pic{
                                                    position: relative;
                                                    z-index: 7;
                                                    width: 74px;
                                                    height: 74px;
                                                    float: left;
                                                    border: 1px solid #f0f0f0;
                                                    line-height: 14px;
                                                    margin-right: 15px;
                                                    img{
                                                        width: 74px;
                                                        height: 74px;
                                                    }
                                                }
                                                .info{
                                                    float: left;
                                                    width: 203px;
                                                    h3{
                                                        font-size: 12px;
                                                        width: 180px;
                                                        max-height: 32px;
                                                        margin-bottom: 8px;
                                                        overflow: hidden;
                                                        font-weight: 400;
                                                        line-height: 16px;
                                                    }
                                                }
                                            }
                                        }
                                        .price{
                                            position: relative;
                                            padding-top: 15px;
                                            height: 74px;
                                            vertical-align: top;
                                            color: #f10180;
                                            span{
                                                left: 118px;
                                                position: absolute;
                                                top: 13px;
                                                padding: 0 2px;
                                            }
                                            strong{
                                                position: absolute;
                                                left: 131px;
                                                font-size: 14px;
                                                font-weight: bolder;
                                            }
                                        }
                                        .num-td{
                                            position: relative;
                                            .l-total{
                                                position: absolute;
                                                bottom: 10px;
                                                opacity: 0;
                                            }
                                            .num-box{
                                                position: relative;
                                                padding: 0 23px;
                                                width: 28px;
                                                height: 22px;
                                                border: 1px solid #e3e2e2;
                                                border-radius: 2px;
                                                margin: auto;
                                                font-size: 12px;
                                                button{
                                                    position: absolute;
                                                    background: #fff;
                                                    top: 0;
                                                    width: 22px;
                                                    height: 22px;
                                                    border: none;
                                                    cursor: pointer;
                                                }
                                                .down-btn{
                                                    left: 0;
                                                    border-right: 1px solid #e3e2e2;
                                                }
                                                .up-btn{
                                                    right: 0;
                                                    border-left: 1px solid #e3e2e2;
                                                }
                                                >div{
                                                    display: block;
                                                    position: relative;
                                                    padding: 3px 0;
                                                    width: 28px;
                                                    height: 16px;
                                                    overflow: hidden;
                                                    #num{
                                                        width: 28px;
                                                        height: 22px;
                                                        text-align: center;
                                                        line-height: 22px;
                                                        color: #272525;
                                                        background-color: #fff;
                                                        border: none;
                                                        position: absolute;
                                                        top: 0;
                                                        left: 0;
                                                    }
                                                }
                                            }
                                        }
                                        .action{
                                            .delate-btn{
                                                display: inline-block;
                                                padding: 0 10px 4px;
                                                color: #666;
                                                border: none;
                                                outline: none;
                                                background-color: #fff;
                                                border: 1px solid #e3e2e2;
                                                vertical-align: middle;
                                            }
                                            .del-btn:hover{
                                                background-color: #e3e2e2 ;
                                                border-color: #fff;
                                            }
                                        }
                                    }
                                }
                            }
                        }
                    }
                }
            }
            // 结算
            .cup{
                margin-bottom: 36px;
                border: 1px solid #ecebeb;
                font-size: 12px;
                .ticket{
                    float: left;
                    margin-bottom: 10px;
                    .t-box{
                        position: relative;
                        z-index: 3;
                        display: inline-block;
                        padding: 15px 0 0 15px;
                        a{
                            display: inline-block;
                            position: relative;
                            z-index: 1;
                            padding-right: 43px;
                            padding-left: 10px;
                            height: 30px;
                            line-height: 30px;
                            vertical-align: top;
                            color: #f10180;
                            border: 1px solid #f10180;
                            border-radius: 3px;
                            background-color: #fff;
                            span{
                                font-size: 14px;
                            }
                            i{
                                position: absolute;
                                top: 7px;
                                right: 7px;
                                font-size: 18px;
                                line-height: 1;
                                font-style: normal;
                                font-weight: 400;
                            }
                        }
                        a:hover{
                            background-color: #fdf4f7;
                        }
                    }
                }
                .total{
                    .tb-body{
                        padding: 18px 20px 15px;
                        height: 79px;
                        .tb-c{
                            text-align: right;
                            vertical-align: bottom;
                            >div{
                                position: relative;
                                margin-bottom: 5px;
                                padding-right: 110px;
                                color: #888;
                                line-height: 21px;
                                .m-price{
                                    position: absolute;
                                    top: 0;
                                    right: 25px;
                                    z-index: 1;
                                    color: #333;
                                    font-size: 14px;
                                }
                            }
                            .shopnum-box{
                                    #total-goodsnum{
                                        margin-right: 3px;
                                        margin-left: 3px;
                                        color: #f10180;
                                        font-family: Arial;
                                    }
                                }
                            .pricenum-box{
                                padding-right: 105px;
                                .m-price{
                                    .yuan{
                                        color: #ed2787;
                                        font-size: 14px;
                                        padding: 0 2px;
                                        font-family: Arial!important;
                                    }
                                    #total-pricenum{
                                        color: #ed2787;
                                        font-size: 18px;
                                        font-family: Arial!important;
                                    }
                                }
                            }
                        }
                    }
                    .tb-foot{
                        margin: 0 -1px -1px;
                        height: 50px;
                        .ft-c{
                            position: relative;
                            padding: 14px 270px 14px 20px;
                            width: 668px;
                            height: 20px;
                            border: 1px solid #e2e1e1;
                            background-color: #f3f3f3;
                            a{
                                position: absolute;
                                top: -1px;
                                right: -1px;
                                width: 250px;
                                height: 48px;
                                line-height: 48px;
                                text-align: center;
                                border-radius: 0;
                                border: 1px solid #d0d0d0;
                                color: #999;
                                background: #d0d0d0;
                                font-size: 18px;
                                span{
                                    display: inline-block;
                                    line-height: 48px;
                                    text-align: center;
                                }
                            }
                            a:hover{
                                background-color: #999;
                                span{
                                    color: #fff;
                                }
                            }
                        }
                    }
                }
            }
        }

        // 保证
        .promise-box{
            margin: 80px 0 80px;
            display: flex;
            justify-content: space-between;
            div{
                width: 302px;
                height: 141px;
                background-image: url(../imgs/shoppingcar/精灵图.png);
            }
            .p-1{
                background-position: -306px 0;
            }
            .p-2{
                background-position: 0 0;
            }
            .p-3{
                background-position: 0 -145px;
            }
        }
    }
}